From: Debian Science Maintainers Date: Sun, 7 Dec 2025 16:19:24 +0000 (+0100) Subject: Make duneproject aware that opm-models is merged with opm-simulators X-Git-Tag: archive/raspbian/2.10.0-6+rpi1^2~5 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=04fcf67d08706d91b5b24a8ed399f2041b8eb9ed;p=dune-common.git Make duneproject aware that opm-models is merged with opm-simulators Last-Update: 2024-11-18 This is needed to kepp autopkgtests from testing working. Can safely be removed laters Last-Update: 2024-11-18 Gbp-Pq: Name duneproject-simulators-is-alias-for-models --- diff --git a/bin/duneproject b/bin/duneproject index eb07398..d8419db 100755 --- a/bin/duneproject +++ b/bin/duneproject @@ -224,6 +224,9 @@ while [ "$DATACORRECT" != "y" -a "$DATACORRECT" != "Y" ]; do read -p " Enter space-separated list: " DEPENDENCIES done set +e + if ! $(echo "$MODULES" | grep opm-models &> /dev/null); then + DEPENDENCIES="$(echo "$DEPENDENCIES" | sed "s/opm-models/opm-simulators/g")" + fi modulesexist "$DEPENDENCIES" "$MODULES" DEPOK=$? set -e